package com.ligongmusic.util;

public class GlobalParams {
    //--------------------------------------------------------------------
    /**
     * 首选项
     **/
    public static final String sharedPreferencesKey = "music_key";
    /**
     * 用户名
     **/
    public static final String userNameKey = "user_name_key";


    //--------------------------------------------------------------------
    /**
     * 用户名
     **/
    public static String userName;
    /**
     * 昵称
     */
    public static String nickName;
    /**
     * 用户头像地址
     */
    public static String userImageUrl;
    /**
     * 普通用户及乐队
     **/
    public static boolean isGroup;
    /**
     * 用户使用权限
     **/
    public static boolean userStatus;
    /**
     * 用户登录状态码
     **/
    public static String token = "1111";
    /**
     * 当前播放歌曲id
     **/
    public static int playing_song_id = -1;
    /**
     * 是否登录
     **/
    public static boolean isLogin = false;
    /**
     * 登录完成刷新动态
     **/
    public static boolean isRefreshDynamic = false;
    /**
     * 登录完成刷新动态
     **/
    public static boolean isRefreshRanking = false;
    /**
     * 用户评论输入的内容
     **/
    public static String USER_TEXT="usertext";
    /**
     * 空
     **/
    public static String NONE="";
    //--------------------------------------------------------------------
    /**
     * 服务器地址
     **/
	public static final String SERVER_NAME = "http://192.168.1.245:8080/music";
//    public static final String SERVER_NAME = "http://120.26.125.224:8080/music";
//	public static final String SERVER_NAME = "http://192.168.1.156:8080/music";
    /**
     * 图片地址
     **/
    public static final String IMAGE_URL = SERVER_NAME + "/avatar/userimage/";
    /**
     * 音乐地址
     **/
    public static final String MUSIC_URL = SERVER_NAME + "/avatar/song/";
    /**
     * 上传音乐
     **/
    public static final String UPLOAD_MUSIC_INFO = SERVER_NAME + "/songManage/insertMusic1";
    /**
     * 上传音乐
     **/
    public static final String INSERT_MUSIC_INFO = SERVER_NAME + "/songManage/insertMusic2";
    /**
     * 点赞接口
     **/
    public static final String PRISE = SERVER_NAME + "/likemanager/zanSong";
    /**
     * 注册地址
     **/
    public static final String REGISTER = SERVER_NAME + "/musicianmanager/registerPerson";
    /**
     * 获取动态
     **/
    public static final String GET_DYNAMIC = SERVER_NAME + "/rankingManage/shareing";
    /**
     * 动态
     **/
    public static final String DYNAMIC_LIST = SERVER_NAME + "/rankingManage/ranking1";
    /**
     * 找回密码
     **/
    public static final String RESTART_PASSWORD = SERVER_NAME + "/musicianmanager/findPassword";
    /**
     * 登录地址
     **/
    public static final String LOGIN = SERVER_NAME + "/musicianmanager/loginPerson";
    /**
     * 上传资料地址
     **/
    public static final String UPLOAD_INFORMATION = SERVER_NAME + "/musicianmanager/updateInformByloginname1";
    /**
     * 获取用户信息
     **/
    public static final String GET_USER_INFO = SERVER_NAME + "/musicianmanager/selectByloginname";
    /**
     * 评论列表
     **/
    public static final String COMMENTS_LIST = SERVER_NAME + "/commentmanager/commentList";
    /**
     * 写评论
     **/
    public static final String WRITE_COMMENTS = SERVER_NAME + "/commentmanager/commentSong";
    /**
     * 我的上传
     **/
    public static final String MY_UPLOAD = SERVER_NAME + "/songManage/getAllSongBySingerid";
    /**
     * 我的评论
     **/
    public static final String MY_COMMENT = SERVER_NAME + "/rankingManage/getMyComment";
    /**
     * 我的赞
     **/
    public static final String MY_PRISE = SERVER_NAME + "/rankingManage/getAllSongByZan";
    /**
     * 获取验证码
     **/
    public static final String GETCAPTCHA = SERVER_NAME + "/smsCodeManage/sendSmsCode";
    /**
     * 获取院系
     **/
    public static final String DEPARTMENT = SERVER_NAME + "/departmentManage/department";
    /**
     * 获取赞列表
     **/
    public static final String GET_PRISE_LIST = SERVER_NAME + "/musicianmanager/getSongOfLikeByid";
    public static boolean isChanged = false;
}
